import { Injectable,Inject } from "@nestjs/common";

@Injectable()
export class LoggerService {
    constructor(@Inject('SUFFIX') private suffix){
        console.log('LoggerService', this.suffix)
    }
    log(message){
        console.log('LoggerService1', message)
    }
}
@Injectable()
export class UseValueService {
    constructor(prefix){
        console.log('UseValueService', prefix)
    }
    log(message){
        console.log('UseValueService', message)
    }
}
@Injectable()
export class UseFactory {
    constructor(){
        // console.log('UseFactory', prefix1, prefix2)
    }
    log(message){
        console.log('UseFactory', message)
    }
}
@Injectable()
export class LoggerClassService {
    log(message){
        console.log('LoggerClassService', message)
    }
}
